package com.hxzy.mapper;

import com.hxzy.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
* @author admin
* @description 针对表【sys_menu(菜单权限表)】的数据库操作Mapper
* @createDate 2024-04-07 10:54:29
* @Entity com.hxzy.entity.SysMenu
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据角色id查询菜单权限
     * @param roleSet
     * @return
     */
    Set<String> getPermsByRoleSet(@Param(value = "roleSet") Set<String> roleSet);
}




